package test;

/*
* 输入三个整数,将数据由小到大是输出
* */
public class Demo2 {

    public static void main(String[] args) {

        int[] arr = {89,78,12};

        if(arr[0]>arr[1]){
            if(arr[0]>arr[2]){
                if(arr[1]>arr[2]){
                    System.out.println(arr[2]+":"+arr[1]+":"+arr[0]);
                }else{
                    System.out.println(arr[1]+":"+arr[2]+":"+arr[0]);
                }
            }else{
                System.out.println(arr[2]+":"+arr[0]+":"+arr[1]);
            }
        }else if(arr[1]>arr[0]){


        }else{


        }


    }
}
